package com.wdb.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wdb.modules.system.domain.Dict;
import com.wdb.modules.system.domain.vo.DictQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: wendaobai@qq.com
 * @date: 2024/8/29 星期四 11:02
 */
@Mapper
public interface DictMapper extends BaseMapper<Dict> {
    IPage<Dict> queryAll(@Param("criteria") DictQueryCriteria criteria, Page<Object> page);

    List<Dict> findAll(@Param("criteria") DictQueryCriteria dictQueryCriteria);
}
